Conversation
Sync dev with master after v1.1.2 release
feat: add LSP tool parameter extraction
refactor: split prune.ts into inject.ts and prune.ts for SRP
Remove the legacy on-idle LLM analysis feature that was disabled by default. This simplifies the codebase by removing: - on-idle.ts strategy and prompt - OnIdle config interface and validation - Event handler for session.status idle events - Related documentation The discard/extract tools remain as the primary pruning mechanism.
refactor: remove on-idle functionality
Remove dead code and dependencies that were only used by the on-idle feature: - Delete lib/model-selector.ts (186 lines) - Remove @tarquinen/opencode-auth-provider - Remove @ai-sdk/openai-compatible - Remove ai SDK This removes 110 transitive packages from the dependency tree.
chore: remove unused on-idle dependencies
Adds write and edit to default protected tools and disables supersedeWrites strategy to prevent models from outputting placeholder text to files. Fixes #215
fix: disable pruning of write/edit tools by default
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add LSP tool parameter extraction
Refactor prune.ts for better seperation of concerns
Fully remove all on idle strategy logic
disable pruning edit/write tools to solve #215 that keeps coming up, a real fix would be nice but no idea why this bug happens